package com.hyts.infodb.metrics;

import com.hyts.infodb.metrics.annotation.EnableCustomMetrics;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * project-name:infodb
 * package-name:com.hyts.infodb.metrics
 * author:Libo/Alex
 * create-date:2019-05-26 21:13
 * copyright:libo-hyts-github
 * email:libo2dev@aliyun.com
 * description:此类主要用于:
 */
@EnableCustomMetrics
@SpringBootApplication
public class MetricsApplication {

    public static void main(String[] args){
        SpringApplication springApplication = new SpringApplication();
        springApplication.setBannerMode(Banner.Mode.CONSOLE);
        springApplication.run(MetricsApplication.class,args);
    }

}
